//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Friday','5/3/2024','7:00 PM','6022755','Ringling-Bros--and-Barnum---Bailey-Circus-5-3-2024'],['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Saturday','5/4/2024','11:00 AM','6022756','Ringling-Bros--and-Barnum---Bailey-Circus-5-4-2024'],['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Saturday','5/4/2024','3:00 PM','6022757','Ringling-Bros--and-Barnum---Bailey-Circus-5-4-2024'],['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Saturday','5/4/2024','7:00 PM','6022758','Ringling-Bros--and-Barnum---Bailey-Circus-5-4-2024'],['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Sunday','5/5/2024','12:00 PM','6022759','Ringling-Bros--and-Barnum---Bailey-Circus-5-5-2024'],['Ringling Bros. and Barnum & Bailey Circus','XL Center','Hartford, CT','Sunday','5/5/2024','4:00 PM','6022760','Ringling-Bros--and-Barnum---Bailey-Circus-5-5-2024'],['WWE: Raw','XL Center','Hartford, CT','Monday','5/6/2024','7:30 PM','6295426','WWE--Raw-5-6-2024'],['AHL Atlantic Division Semifinals: Hartford Wolf Pack vs. Providence Bruins - Home Game 1, Series Game 3','XL Center','Hartford, CT','Wednesday','5/8/2024','7:00 PM','6411907','AHL-Atlantic-Division-Semifinals--Hartford-Wolf-Pack-vs--Providence-Bruins---Home-Game-1--Series-Game-3-5-8-2024'],['AHL Atlantic Division Semifinals: Hartford Wolf Pack vs. Providence Bruins - Home Game 2, Series Game 4 (If Necessary)','XL Center','Hartford, CT','Friday','5/10/2024','7:00 PM','6411908','AHL-Atlantic-Division-Semifinals--Hartford-Wolf-Pack-vs--Providence-Bruins---Home-Game-2--Series-Game-4--If-Necessary--5-10-2024'],['Core Hydration Classic - All Session Pass','XL Center','Hartford, CT','Friday','5/17/2024','TBD','6274329','Core-Hydration-Classic---All-Session-Pass-5-17-2024'],['Core Hydration Classic: Hopes Championships','XL Center','Hartford, CT','Friday','5/17/2024','2:00 PM','6263126','Core-Hydration-Classic--Hopes-Championships-5-17-2024'],['Core Hydration Classic: Junior Women','XL Center','Hartford, CT','Friday','5/17/2024','7:00 PM','6263127','Core-Hydration-Classic--Junior-Women-5-17-2024'],['Core Hydration Classic: Senior Women Session 1','XL Center','Hartford, CT','Saturday','5/18/2024','1:00 PM','6263128','Core-Hydration-Classic--Senior-Women-Session-1-5-18-2024'],['Core Hydration Classic: Senior Women Session 2','XL Center','Hartford, CT','Saturday','5/18/2024','7:00 PM','6263129','Core-Hydration-Classic--Senior-Women-Session-2-5-18-2024'],['Aventura','XL Center','Hartford, CT','Monday','5/27/2024','8:00 PM','6292663','Aventura-5-27-2024'],['Feid','XL Center','Hartford, CT','Sunday','6/9/2024','8:00 PM','6262017','Feid-6-9-2024'],['Hot Wheels Monster Trucks Live - Glow Party','XL Center','Hartford, CT','Saturday','9/14/2024','12:30 PM','6373075','Hot-Wheels-Monster-Trucks-Live---Glow-Party-9-14-2024'],['Hot Wheels Monster Trucks Live - Glow Party','XL Center','Hartford, CT','Saturday','9/14/2024','7:30 PM','6373076','Hot-Wheels-Monster-Trucks-Live---Glow-Party-9-14-2024'],['Hot Wheels Monster Trucks Live - Glow Party','XL Center','Hartford, CT','Sunday','9/15/2024','2:30 PM','6373477','Hot-Wheels-Monster-Trucks-Live---Glow-Party-9-15-2024'],['Chris Tomlin','XL Center','Hartford, CT','Wednesday','10/23/2024','7:00 PM','6328026','Chris-Tomlin-10-23-2024']],'XL Center','http://www.ticketnetwork.com/ticket/XL-Center-events.aspx');